<span style="margin: 0px 0px 15px 42px;"><?php echo anchor('admin/inicio', 'Inicio') ?> >> <?php echo anchor('admin/pagos', 'Pagos') ?> >> <?php echo anchor('admin/pagocuota', 'Pago de Cuotas') ?>
</span>
<div id="accesos-directos" class="grid_11 borde-redondo" style="margin: 0px 0px 15px 42px;">
    <div id="crud" class="grid_11" style="margin-bottom: 10px;">
        <div class="grid_1" style="padding: 27px 0px 0px 0px;">
            <img src="<?php echo base_url() ?>img/icon-48-article.png" />
        </div>
        <div class="grid_8" style="padding: 35px 0px 0px 0px; color: #0070a3; font-size: large; font-weight: bold">
            Pago de Cuotas
        </div>
        <div class="grid_1" style="margin: 5px 0px 0px 50px;">
            <?php echo anchor_img('admin/pagocuota/nuevo', 'Nuevo', base_url() . 'img/add.png'); ?>
        </div>
    </div>
</div>
<div id="detalle" class="grid_11 borde-redondo" style="margin: 0px 0px 15px 42px;">
    <div id="buscador" class="grid_10" style="margin: 15px 0px 5px -60px;">
        <?php echo form_open('admin/pagocuota/buscar', array('id' => 'frmbuscar')) ?>
        <?php echo form_label('Filtro', 'txtbuscar'); ?>
        <?php echo form_input('txtbuscar'); ?>
        <?php
        $btnBuscar = array(
            'name' => 'btnBuscar',
            'value' => 'Buscar',
            'class' => 'boton_buscar'
        );
        echo form_submit($btnBuscar);
        ?>
        <input type="button" name="btnrestablecer" value="Restablecer" class="boton_restablecer" onclick="location.href='<?php echo base_url() ?>admin/pagocuota'"   /> 
<?php echo form_close(); ?>
    </div>

    <div class="grid_10" style="margin-bottom: 15px;">
        <form id="frmdetalle" method="post">            
            <table width="835">
                <tr>
                    <th style="width: 40px;">ID</th>
                    <th style="width: 300px;">DESCRIPCION</th>
                    <th style="width: 100px;">Nº CUOTA</th>
                    <th style="width: 100px;">MONTO</th>
                    <th style="width: 300px;">CARRERA</th>
                    <th colspan="2" style="width: 100px;">ACCIONES</th>
                </tr>
                    <?php foreach ($pago_cuota_listado as $registro) { ?>
                    <tr  onmouseover="this.style.backgroundColor='#BECFDF'" onmouseout="this.style.backgroundColor='#DBE7F3'">
                        <td><?php echo anchor('admin/pagocuota/editar/' . $registro->id, $registro->id) ?></td>
                        <td><?php echo anchor('admin/pagocuota/editar/' . $registro->id, $registro->descripcion); ?></td>
                        <td align="center"><?php echo $registro->nrocuota; ?></td>
                        <td align="center"><?php echo $registro->monto; ?></td>
                        <td align="center"><?php echo $registro->nombre; ?></td>
                        <td align="center"><?php echo anchor_img('admin/pagocuota/editar/' . $registro->id, '', base_url() . 'img/edit.png'); ?></td>
                        <td align="center"><?php echo anchor_img('admin/pagocuota/eliminar/' . $registro->id, '', base_url() . 'img/delete.png');?></td>
                        </td>
                    </tr>
                    <?php } ?>
            </table>
            </body>
        </form>
    </div>
    <div class="grid_10" style="margin-bottom: 15px;">
        <?php echo 'En total hay ' . $total_registros . ' registros' ?>
    </div>
</div>